package com.zs.toolbox.web2j.common.exception;

public class WtExceptions {
    public static final WtBaseException E_COMMON_KEY = new WtBaseException("错误的主键ID",10001);
    public static final WtBaseException E_COMMON_KEY_EXIST = new WtBaseException("已存在的主键",10002);
    public static final WtBaseException E_COMMON_PARAMS = new WtBaseException("参数不合法",10003);
    static final public WtBaseException E_USER_OLD_PASSWORD = new WtBaseException("旧密码不正确", 20012);
    static final public WtBaseException E_VCODE_NOT_FOUND = new WtBaseException("没有发现验证码", 20013);
    static final public WtBaseException E_VCODE = new WtBaseException("验证码不正确", 20014);
    static final public WtBaseException E_USER_NOEXIST = new WtBaseException("不存在的用户", 20015);
    public static final WtBaseException E_USE_PERMISSION_EXIST = new WtBaseException("已存在的权限", 20016);


    static final public WtBaseException E_USER_PHONE_BINDED = new WtBaseException("该帐号已绑定手机号，请解绑后再操作", 20016);
    static final public WtBaseException E_USER_PHONE_USED = new WtBaseException("手机号已被使用", 20017);
    static final public WtBaseException E_USER_PHONE_BELONG = new WtBaseException("手机归属不匹配", 20018);
    static final public WtBaseException E_USER_EMAIL_BINDED = new WtBaseException("该帐号已绑定邮箱，请解绑后再操作", 20019);
    static final public WtBaseException E_USER_EMAIL_USED = new WtBaseException("该邮箱已被使用", 20020);
    static final public WtBaseException E_USER_EMAIL_BELONG = new WtBaseException("邮箱归属不匹配", 20021);
    public static final WtBaseException E_USER_USERNAME_USED = new WtBaseException("该用户名已被使用", 20022);;
    public static final WtBaseException E_USER_NO_PERMISSION = new WtBaseException("错误的权限", 20023);;


    static final public WtBaseException E_MESSAGE_SEND_ERROR = new WtBaseException("消息队列发送消息失败", 300014);
    static final public WtBaseException E_MESSAGE_SMS_SEND_ERROR = new WtBaseException("短消息发送失败", 300015);


    public static final WtBaseException E_STORAGE_FTP_LOGIN_ERROR = new WtBaseException("ftp登陆失败", 400001);
    public static final WtBaseException E_STORAGE_FTP_UPLOAD = new WtBaseException("ftp登陆失败", 400002);
    public static final WtBaseException E_STORAGE_LOCAL_UPLOAD = new WtBaseException("本地上传文件失败",400003) ;


    public static final WtBaseException E_DICT_KEY = new WtBaseException("不存在的分类KEY",500001);
    public static final WtBaseException E_DICT_FILE_UPLOAD = new WtBaseException("字典文件上传失败",500002);
    public static final WtBaseException E_USER_OPEN_LOGIN = new WtBaseException("第三方登陆失败",500002);
    public static final WtBaseException E_USER_OPEN_ID_NOEXIST = new WtBaseException("OPEN_ID不存在",500003);;
    public static final WtBaseException E_USER_OPEN_ID_BINDED = new WtBaseException("用户ID已绑定",500004);;

    public static final WtBaseException E_POST_NOEXIST = new WtBaseException("文章ID不存在",600004);;
    public static final WtBaseException E_POST_COMMENT_NOEXIST = new WtBaseException("评论ID不存在",600004);;
}
